package com.adapter.classadpter;

/**
 * @author 薛虎
 * @date 2021/1/7 13:14
 * 类适配器模式
 */
public class Client {

    public static void main(String[] args) {
        System.out.println(" === 类适配器模式 === ");
        Phone phone = new Phone();
        phone.charging(new VoltageAdpater());
    }
}
